package com.inspur.security.cbb3.kms.keymanager.secretsstore.service;

import com.inspur.security.cbb3.kms.keymanager.secrets.po.SecretsBean;
import com.inspur.security.cbb3.kms.keymanager.secretsstore.po.SecretsStoreBean;

/**
 * @author: lijunchang
 * @Description: 密钥存储service
 * @Date: 2020/10/19
 */
public interface SecretsStoreService {

    /**
     * 根据密钥表信息、密文信息进行存储表新增
     * @param secretsBean       密钥表信息
     * @param ciphertextSecretKey   密文信息
     * @return  密钥存储表信息
     */
    SecretsStoreBean saveSecretsStoreBean(SecretsBean secretsBean, String ciphertextSecretKey);
}
